ReadMapCRUDRepo

class ReadMapCRUDRepo<ObjectType, IdType>(map: Map<IdType, ObjectType> = emptyMap()) : ReadCRUDRepo<ObjectType, IdType>

Constructors

Link copied to clipboard
fun <ObjectType, IdType> ReadMapCRUDRepo(map: Map<IdType, ObjectType> = emptyMap())

Functions

Link copied to clipboard
open suspend override fun contains(id: IdType): Boolean
Link copied to clipboard
open suspend override fun count(): Long
Link copied to clipboard
open suspend override fun getById(id: IdType): ObjectType?
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<ObjectType>